<template>
  <div>
    <el-pagination :current-page="currentPage" :page-sizes="[3, 5, 7, 10]" :page-size="pageSize"
      layout="total, sizes, prev, pager, next, jumper" :total="total">
    </el-pagination>
  </div>
</template>

<script>
export default {
  props: {
    pageSize: { type: Number, default: 0 }, //每个页面显示的数组
    curPage: { type: Number, default: 0 }, //当前页面
    total: { type: Number, default: 0 }, //总共的信息数目
  },
  data() {
    return {
      currentPage: 1
    }
  },
};
</script>

<style lang="less" scoped>
</style>